]> dgit.raspbian.org Git - gnome-shell.git/commit
util: Don't consider consecutive dots as URLs
authorSebastian Keller <skeller@gnome.org>
Tue, 15 Jul 2025 08:08:45 +0000 (10:08 +0200)
committerSebastian Keller <skeller@gnome.org>
Tue, 15 Jul 2025 09:02:36 +0000 (11:02 +0200)
commit5af26a21810cdc26965137d5c30864ad782db5b6
tree9e184fe6df22201aba64b6bb537306d7b2436410
parent1d6c93019fc1a5dd62dd4f22e9f211d5ba9bd86d
util: Don't consider consecutive dots as URLs

This now requires at least one character separating each dot for it to
be considered a URL. It also does not allow URLs starting with a dot
anymore.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8517
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3798>
js/misc/util.js
tests/unit/url.js